Closed (fixed)
Project:
Video
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
16 Feb 2008 at 22:13 UTC
Updated:
10 Sep 2009 at 06:56 UTC
When I try to embedd a YouTube video in the Create Content/Video section I get the error message below. I'm using a standard YouTube URL - http://youtube.com/watch?v=15Uxbv4WOpo. Could it be conflicting with the clean url SEo friendly url mods? Please advise.
"The Youtube Video URL validation as failed for some reason. Please check the URL and try again.
If the error persists please contact Team Diets administrators.
The Youtube validation service reported the following error: Bad, unknown, or disabled dev_id specified. "
Comments
Comment #1
fax8 commentedThe new video module version support checking of the validity of a Youtube video using the Youtube XML APIs.
In order to let this work you have to get a youtube developer id from your youtube profile: http://www.youtube.com/my_profile_dev.
Once you got one, just insert it on the youtube module configuration page.
Setting this as fixed. Let us know if you still have problems.
Comment #2
teamdiets commentedOk, I added the developer id. Now I get this error when trying to embed a YouTube video:
Fatal error: Call to undefined function: dm() in /home/teamdiet/public_html/modules/video/plugins/video_image/video_image.module on line 273
Comment #3
vhmauery commentedoops. I think that may have gotten committed when I accidentally committed changes to that file when committing changes to another file. I have removed that line in CVS.
Comment #4
summit commentedI removed the line:
And it is working!
But shouldn't uploading an image be required, because the node otherwise shows a missing image tag?
greetings,
Martijn
Comment #5
fax8 commentedThis morning I committed a fix to the missing image tag bug. Please wait till it is included in the automatically generated -dev version.
Comment #6
teamdiets commentedI'm not clear on what I need to do. I'm still getting the error:
Fatal error: Call to undefined function: dm() in /home/teamdiet/public_html/modules/video/plugins/video_image/video_image.module on line 273
Comment #7
teamdiets commentedExcuse me as a new Drupal users but what is "the automatically generated -dev version."
What am I supposed to do?
Comment #8
fax8 commentedget this version of the video module and install it: http://drupal.org/node/120303
This is an automatically generated revision. Every time we commit something new this is updated (once a day) and can be deployed by users.
Let us know if you still have problems.
Comment #9
teamdiets commentedThat worked! Thanks.
Comment #10
1a1o commentedit didn't work for me :'(
The Youtube validation service reported the following error: Bad, unknown, or disabled dev_id specified.
Comment #11
1a1o commentednevermind i got it working!
nice job!
Comment #12
sbhattarai commented"Once you got one, just insert it on the youtube module configuration page."
Hi, how to navigate to this page?
Thanks
Comment #13
fax8 commentedhttp://www.youtube.com/my_profile_dev
Comment #14
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #16
riwaj commentedI am sorry to bother you on the same question but I had no other option.
I got developer Id from youtube but couldn't find place to paste it in administer->site configuration->video.
There were just 5 options:
General behavior
Video Resolution
Statistics counter
Flash settings
Ogg theora settings
Can u please help me?
sincerely
Comment #17
jenlamptonBe Sure that you have the youtube video module enabled at /admin/build/modules. The YouTube settings are at /admin/settings/video/youtube. That is where you enter your developer ID.
Hope that helps,
Jen
Comment #18
riwaj commentedSorrry but it didn't!
I have youtube and all companion modules that come along enabled in modules.
Still I can't find youtube in the admin->site conf->video.
Comment #19
earchamb commentedI had the same problem...
We need to manually enter the path admin/settings/video/youtube to see additional options.
There is no link (no tab) for YouTube in the settings.
Comment #20
jenlamptonThere is a link, in your Navigation > Administer >Site Config > Video > youtube... it's a child of video, so I missed it the first 8 times as well. But yes, I posted the path because I was hoping to save people the trouble of locating that link.
Jen
Comment #21
prezaeis commentedim still getting this error even though iv placed my dev id in the youtube field
any ideas why?
Comment #22
tribsinpa commentedThe issue may be that your PHP installation has "allow_url_include" disabled. I think it is disabled by default in a lot of new PHP installations now as it poses a security risk if you have poorly written code.
I was having the same problem and when I enable that setting in my PHP.ini it worked.
Comment #23
prezaeis commentedim in my php.ini file now but there is no such option!!!! i dont have a allow_url_include
Comment #24
prezaeis commentedok i manually added the the include command in php.ini, still not working :(
Comment #25
prokopton commentedSome settings will -not- work on my local workstation but will work live on my ISP's server.
I entered the YouTube Developer ID code from " admin/settings/video/youtube "and it worked live on the server but I couldn't get it to work on my laptop. I'm using PHP 5.x on my laptop and my ISP has PHP 4.x installed. The configurations are a bit different so I would probably try from your workstation and the live server to see if there are any differences.
Comment #26
decibel.places commentedstill getting errors
I have
still getting:
and Youtube Video URL: * is highlighted in red
Comment #27
cwhitmore commentedI am getting the same error as the original poster, but when I tried to access the dev ID link in YouTube to get a key I got this error:
The APIs accessed by this developer ID program have been deprecated and are no longer supported. To use the new APIs or get information about migrating your applications, please visit the YouTube Developer site at code.google.com.
I went to the code website, but have no idea what I'm looking for. Can someone tell me what I need to get this working with YouTube?
Comment #28
decibel.places commentedtry this URL http://code.google.com/apis/youtube/dashboard/
you will need to sign up for a Google developer account
even with this key I was getting an error, haven't checked lately
it was suggested that the verification happens in the Drupal video module, not on Google, so perhaps there is a way to bypass that verification process...
[EDIT] So far, the site I am developing uses uploaded video clips which the video module handles well - but eventually I see a potential for YouTube clips too, so eventually I should be tackling this issue
Comment #29
cwhitmore commentedThanks for the heads up. Same thing here. The error continues to come up after I entered the Dev ID.
It's a shame that we can't get this working. YouTube handles my HD videos much better then Google.
If you come across a fix please let me know.
Comment #30
Evangelo commentedComment #31
decibel.places commentedFirst of all, this is working in 6.x-2.4 so this issue may be closed
@#30 Evangelo
When adding ANY module it is a good idea to look at the README.txt that comes with it
there are installation directions here http://video.heidisoft.com/docs/users-guide-3 (although they are not presented optimally, IMO)
Here is how to sign up for the Developer ID and YouTube Key:
Sign up for a Google account at https://www.google.com/accounts/NewAccount
If you use any Google products (Gmail, Webmaster Tools, Google Analytics, YouTube etc) you probably already have an account so try log in https://www.google.com/accounts/Login
Then after you log in get your YouTube keys at http://code.google.com/apis/youtube/dashboard/gwt/index.html
--OR--
http://www.youtube.com/my_profile_dev will redirect to http://code.google.com/apis/youtube/getting_started.html
In the left menu click on "Register Developer Keys"
click on the "New Product" button, enter the information to get the developer key and client ID
Comment #32
Evangelo commentedComment #33
decibel.places commentedThis thread is about the 6.x version, and in its most recent release it works - for example http://faiththedog.info/videos/faith-oprah
I have also had an issue with 5.x, I have not checked recently if an update is available and usable
Please make sure you are using the latest "recommended" 5.x version, and if that does not work, try the latest 5.x-dev version
Comment #34
Evangelo commented